package com.javaooptwo;

import java.util.Scanner;

public class DemoTest {
    public static void main(String[] args) {
        User user = new User();


        User user1 = new User();
        user1.name="lisi";
        user1.password="123";

        User user2 = new User();
        user2.name="zs";
        user2.password="123";

        User[] users = new User[2];
        users[0]=user1;
        users[1]=user2;


        user.printUser(users);

        //
    }


}
